package com.example.taximeter.service;


import com.example.taximeter.bean.ReturnInfo;
import com.example.taximeter.bean.User;
import com.example.taximeter.bean.UserView;

import java.util.List;

/**
 * 用户
 */
public interface UserService {

    ReturnInfo findUserAll(Integer pageNum, Integer pageSize, UserView userView);

    User findUserByUsername(String username);

    User findUserByUserid(Integer userid);

    List<User> findUsernameList();

    List<User> findFullnameList();

    String addUser(User user);

    String updateUser(UserView userView);

    String deleteUser(Integer id);

    UserView findUserViewByUserid(Integer userid);

    void addUserLog(Integer logtype,String logdescription);
}
